package com.v2future.sjt.collegecheckingattendance.home.bean;

import com.google.gson.JsonParser;
import com.v2future.sjt.collegecheckingattendance.utils.BaseResponseBean;

import org.xutils.http.annotation.HttpResponse;

import java.io.Serializable;

/**
 * Created by Administrator on 2016/1/19.
 */
public class LoginResultBean extends BaseResponseBean implements Serializable {

    /**
     * age : 26
     * className : 13(1)
     * collegeName : 法学院
     * entranceTime : 2013-09
     * majorName : 法学
     * sourceSecTypeName : 博士生
     * sourceTypeId : 3
     * userBirth : 1989-12-03
     * userCode : xiaohu
     * userId : 2
     * userName : 虎哥
     * userSex : 男
     */

    private DataEntity data;

    /**
     * data : {"age":"26","className":"13(1)","collegeName":"法学院","entranceTime":"2013-09","majorName":"法学","sourceSecTypeName":"博士生","sourceTypeId":"3","userBirth":"1989-12-03","userCode":"xiaohu","userId":"2","userName":"虎哥","userSex":"男"}
     * flag : 1
     */

    public void setData(DataEntity data) {
        this.data = data;
    }

    public DataEntity getData() {
        return data;
    }

    public static class DataEntity {
        private String age;
        private String className;
        private String collegeName;
        private String entranceTime;
        private String portraitNum;//头像编号
        private String majorName;
        private String sourceSecTypeName;//博士生
        private String userPic;//用户头像地址
        private String sourceTypeId;//1老师 2学生
        private String userBirth;
        private String userCode;
        private String userId;
        private String userName;
        private String userSex;

        public void setAge(String age) {
            this.age = age;
        }

        public void setClassName(String className) {
            this.className = className;
        }

        public void setCollegeName(String collegeName) {
            this.collegeName = collegeName;
        }

        public void setEntranceTime(String entranceTime) {
            this.entranceTime = entranceTime;
        }

        public void setMajorName(String majorName) {
            this.majorName = majorName;
        }

        public void setSourceSecTypeName(String sourceSecTypeName) {
            this.sourceSecTypeName = sourceSecTypeName;
        }

        public void setSourceTypeId(String sourceTypeId) {
            this.sourceTypeId = sourceTypeId;
        }

        public void setUserBirth(String userBirth) {
            this.userBirth = userBirth;
        }

        public void setUserCode(String userCode) {
            this.userCode = userCode;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public void setUserSex(String userSex) {
            this.userSex = userSex;
        }

        public String getAge() {
            return age;
        }

        public String getClassName() {
            return className;
        }

        public String getCollegeName() {
            return collegeName;
        }

        public String getEntranceTime() {
            return entranceTime;
        }

        public String getMajorName() {
            return majorName;
        }

        public String getSourceSecTypeName() {
            return sourceSecTypeName;
        }

        public String getSourceTypeId() {
            return sourceTypeId;
        }

        public String getUserBirth() {
            return userBirth;
        }

        public String getUserCode() {
            return userCode;
        }

        public String getUserId() {
            return userId;
        }

        public String getUserName() {
            return userName;
        }

        public String getUserSex() {
            return userSex;
        }

        public String getPortraitNum() {
            return portraitNum;
        }

        public void setPortraitNum(String portraitNum) {
            this.portraitNum = portraitNum;
        }

        public String getUserPic() {
            return userPic;
        }

        public void setUserPic(String userPic) {
            this.userPic = userPic;
        }
    }
}
